package com.cloudkinto.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cloudkinto.entity.InvoiceTitleDo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloudkinto.extentity.InvoiceTitleOweDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 * @author hua
 * @since 2022-09-20
 */
@Mapper
public interface InvoiceTitleDao extends BaseMapper<InvoiceTitleDo> {
    List<InvoiceTitleDo> listPage(IPage<InvoiceTitleDo> page, @Param("map") Map<String, String> map);

    List<InvoiceTitleDo> list( @Param("map") Map<String, String> map);

    List<InvoiceTitleOweDto> selectOweList(@Param("map") Map<String, String> map);
}
